function restoreAnimalSearchScreen(){
	loadSpecie("#insert_specie_animal");
	$("#insert_specie_animal").bind("change", function(){
		loadRace("#insert_race_animal");
	});
	
	$("#insert_specie_animal").bind("change", loadImageSpecie);
	$("#search_size_animal").bind("change", loadImageSize).trigger("change");
	
	loadState("#search_state_animal");
};

function loadImageSpecie(){
	var value = $("#insert_specie_animal").val();
	var srcImage = "images/others/null_img.jpg";
	
	if(value == "1"){
		srcImage = "images/others/canine.jpg";
	}
	else if(value == "2"){
		srcImage = "images/others/feline.jpg";
	}
	
	$("#insert_specie_animal").attr("src", srcImage);
}

function loadImageSize(){
	var value = $("#search_size_animal").val();
	var srcImage = "images/others/null_img.jpg";
	
	if(value == "small"){
		srcImage = "images/others/small.jpg";
	}
	else if(value == "medium"){
		srcImage = "images/others/medium.jpg";
	}
	else if (value == "larger"){
		srcImage = "images/others/larger.jpg";
	}
	
	$("#prev_size").attr("src", srcImage);
}